<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class AdminRoleUser extends Model
{
	use HasDateTimeFormatter;
    protected $table = 'admin_role_users';

    protected $primaryKey = 'user_id';

    public function roleUser()
    {
        return $this->hasOne(AdminUser::class, 'id', 'user_id');
    }
}
